package qky.api.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import qky.api.entity.UserEntity;

/**
 * 用户
 * 
 * @author qky
 * @email qky_coding_man@gmail.com
 * @date 2022-01-14 22:55:15
 */
@Mapper
public interface UserDao extends UserDaoGen {

    @Select("select * from tb_user where mobile = #{mobile} and deleted = '0'")
    UserEntity getByMobile(@Param("mobile") String mobile);
}
